/**
 * Keafmd
 *
 * @ClassName: Test
 * @Description: Test
 * @author: lijl
 * @date: 2022/12/3 18:18
 * @Blog: https://keafmd.blog.csdn.net/
 */

class Animal{
    private int legs;
    public void eat() {
        System.out.println("正在吃。。。");
    }
    public void move() {
        System.out.println("正在玩。。。");
    }
}
public class Test {
    public static void main(String[] args) {
        Animal animal1 = new Animal();
        Animal animal2 = new Animal();
        animal1.eat();
        animal1.move();
        animal2.eat();
        animal2.move();
    }
}
